package com.dhl.bridge;

/**
 * @title: Phone
 * @Author danghailiang
 * @Date: 2022/8/2 22:40
 * @Version 1.0
 */
public abstract class Phone {
    private Brand brand;
    public Phone(Brand brand){
        super();
        this.brand = brand;
    }

    protected void open() {
        brand.open();
    }

    protected void close() {
        brand.close();
    }

    protected void call() {
        brand.call();
    }
}
